import {
    get,
    post,
    //postForm,
    del
} from '@/utils/http'
const packageName = `/back-api`


/**
 * 配置鱼池数值型设备关系
 */
// 获取配置鱼池数值型设备关系
export function getConfigFishpondDeviceNumericalRelation(params) {
    return get(`${packageName}/configFishpondDeviceNumericalRelation/getConfigFishpondDeviceNumericalRelation`, params)
}
// 获取配置鱼池数值型设备关系列表
export function getConfigFishpondDeviceNumericalRelationList(params) {
    return get(`${packageName}/configFishpondDeviceNumericalRelation/getConfigFishpondDeviceNumericalRelationList`, params)
}
// 获取控制箱下所有鱼池（控制箱id）
export function getBoxFishponds(params) {
    return get(`${packageName}/configFishpondDeviceNumericalRelation/getBoxFishponds`, params)
}
// 获取历史数据图表
export function getNumericalDataChart(params) {
    return get(`${packageName}/configFishpondDeviceNumericalRelation/getNumericalDataChart`, params)
}
// 删除配置鱼池数值型设备关系
export function delConfigFishpondDeviceNumericalRelation(params) {
    return del(`${packageName}/configFishpondDeviceNumericalRelation/delConfigFishpondDeviceNumericalRelation`, params)
}
// 保存配置鱼池数值型设备关系
export function saveConfigFishpondDeviceNumericalRelation(params) {
    return post(`${packageName}/configFishpondDeviceNumericalRelation/saveConfigFishpondDeviceNumericalRelation`, params)
}
